package cn.wipace.actionlib.model;

import java.io.Serializable;


/**
 * 游戏中用户动作实体类
 * Created by Administrator on 2017/4/20.
 */

public class UserAction implements Serializable {

    private long id;
    private long userId;//用户id
    private String packgeName;//游戏包名称
    private float t0;
    private float t1;
    private float t2;
    private float t3;
    private float t4;
    private float t5;
    private long gameStartTime;//游戏开始时间
    private long createTime;//记录创建时间

    public UserAction(float t0, float t1, float t2, float t3, float t4, float t5) {
        this.t0 = t0;
        this.t1 = t1;
        this.t2 = t2;
        this.t3 = t3;
        this.t4 = t4;
        this.t5 = t5;
    }

    public UserAction(long userId, String packgeName, float t0, float t1, float t2, float t3, float t4, float t5, long gameStartTime) {
        this.userId = userId;
        this.packgeName = packgeName;
        this.t0 = t0;
        this.t1 = t1;
        this.t2 = t2;
        this.t3 = t3;
        this.t4 = t4;
        this.t5 = t5;
        this.gameStartTime = gameStartTime;
    }

    public UserAction(long id, long userId, String packgeName, float t0, float t1, float t2, float t3, float t4, float t5, long gameStartTime, long createTime) {
        this.id = id;
        this.userId = userId;
        this.packgeName = packgeName;
        this.t0 = t0;
        this.t1 = t1;
        this.t2 = t2;
        this.t3 = t3;
        this.t4 = t4;
        this.t5 = t5;
        this.gameStartTime = gameStartTime;
        this.createTime = createTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getPackgeName() {
        return packgeName;
    }

    public void setPackgeName(String packgeName) {
        this.packgeName = packgeName;
    }

    public float getT0() {
        return t0;
    }

    public void setT0(float t0) {
        this.t0 = t0;
    }

    public float getT1() {
        return t1;
    }

    public void setT1(float t1) {
        this.t1 = t1;
    }

    public float getT2() {
        return t2;
    }

    public void setT2(float t2) {
        this.t2 = t2;
    }

    public float getT3() {
        return t3;
    }

    public void setT3(float t3) {
        this.t3 = t3;
    }

    public float getT4() {
        return t4;
    }

    public void setT4(float t4) {
        this.t4 = t4;
    }

    public float getT5() {
        return t5;
    }

    public void setT5(float t5) {
        this.t5 = t5;
    }

    public long getGameStartTime() {
        return gameStartTime;
    }

    public void setGameStartTime(long gameStartTime) {
        this.gameStartTime = gameStartTime;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }
}
